export const startupReportingDescriptionFileds = (response) => {
  // 项目开工信息动态数据
  const startupReportingInfoDesc = reactive([
    // {
    //   label: '是否签订后向合同',
    //   type: 'select',
    //   options: [
    //     {
    //       value: 'true',
    //       label: '是'
    //     },
    //     {
    //       value: 'false',
    //       label: '否'
    //     }
    //   ],
    //   filed: 'retroactive_contract',
    //   content: response.retroactive_contract ? "是" : "否"
    // },
    {
      label: '开工时间',
      type: 'datePicker',
      filed: 'commencement_date',
      content: response.commencement_date
    }
  ])
  // 项目开工信息表单对象
  const startupReportingInfoForm = reactive({
    // retroactive_contract: '',
    commencement_date: response.commencement_date
  })

  const startupReportingSecondInfoDesc = reactive([
    {
      label: '建设单位部门经理',
      type: 'input',
      filed: 'construction_department_manager',
      content: response.construction_department_manager
    }
  ])

  const startupReportingThirdInfoDesc = reactive([
    {
      label: '省端项目主管',
      type: 'input',
      filed: 'project_supervisor',
      content: response.project_supervisor
    }
  ])

  return {
    // 项目开工信息
    startupReportingInfoDesc,
    startupReportingInfoForm,
    startupReportingSecondInfoDesc,
    startupReportingThirdInfoDesc
  }
}